package com.zhuidian.mothernote.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.recyclerview.widget.RecyclerView;

import com.base.adapter.BaseRecyclerAdapter;
import com.zhuidian.mothernote.R;


public class RecevieLikeAdapter extends BaseRecyclerAdapter<String> {

    public RecevieLikeAdapter(Context context) {
        super(context);
    }


    @Override
    protected RecyclerView.ViewHolder onCreateItemViewHolder(ViewGroup parent) {
        return new MyViewHolder(inflate(R.layout.adapter_receive_like));
    }

    public class MyViewHolder extends ItemViewHolder {
        private ImageView iv_pic;
        private TextView tv_name;
        private TextView tv_label;
        private TextView tv_follow;


        public MyViewHolder(View view) {
            super(view);
            iv_pic = (ImageView) view.findViewById(R.id.iv_pic);
            tv_name = (TextView) view.findViewById(R.id.tv_name);
            tv_label = (TextView) view.findViewById(R.id.tv_label);
            tv_follow = (TextView) view.findViewById(R.id.tv_follow);
        }

        @Override
        protected void setListener(int position) {

        }

        @Override
        protected void initValue(int position, String string) {

        }
    }

}

